<?php
/**
 * Created by PhpStorm.
 * User: spatra
 * Date: 15-1-8
 * Time: 下午7:18
 */

class CallnameListsTableTestSeeder extends Seeder
{
    public function run()
    {
        DB::table($this->tableName)->insert([
           ['name'=>'测试列表１', 'description'=>'测试测试测试测试测试', 'creater_id'=>'2', 'created_at'=>date('Y-m-d'), 'updated_at'=>date('Y-m-d')],
           ['name'=>'测试列表2', 'description'=>'测试测试测试测试测试2', 'creater_id'=>'2', 'created_at'=>date('Y-m-d'), 'updated_at'=>date('Y-m-d')],
           ['name'=>'测试列表3', 'description'=>'测试测试测试测试测试3', 'creater_id'=>'2', 'created_at'=>date('Y-m-d'), 'updated_at'=>date('Y-m-d')]
        ]);
    }

    private $tableName = 'callname_lists';
}